@extends('app')

@section('content')

<div class="panel panel-primary" style="margin-top: 50px">
    <div class="panel-heading">
        添加角色
    </div>
    <div class="panel-body">
        <form class="form-horizontal" method="POST" action="{{url('role')}}">
        	{!! csrf_field() !!}
        	<div class="col-md-12">
			    <div class="form-group">
			    	<label class="col-sm-3 control-label">角色:</label>
			    	<div class="col-sm-9">
			    		<input type="text" name="name" class="form-control" placeholder="角色">
			    	</div>
			    </div>
			    <div class="form-group">
			    	<label class="col-sm-3 control-label">角色名称:</label>
			    	<div class="col-sm-9">
			    	<input type="text" class="form-control" placeholder="Name" name="display_name">
			    	</div>
			    </div>
			    <div class="form-group">
			    	<label class="col-sm-3 control-label">角色描述:</label>
			    	<div class="col-sm-9">
			    	<input type="text" class="form-control" placeholder="Name" name="description">
			    	</div>
			    </div>
			</div>

			<div class="form-group">
                <div class="col-sm-4 col-sm-offset-2">
                    <button type="submit" class="btn btn-primary">添加</button>
                    <a class="btn btn-white" href="{{url('role')}}">返回</a>
                </div>
            </div>
        </form>
        @include('errors.errors')
    </div>

</div>
@stop






